package com.example.sbbsec.domain;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;


/**
 *
 * @author Arat.Wu
 * @date 2018/11/16
 */
@Document(indexName="syzkmis-view",shards=1,replicas=0,refreshInterval="-1")
public class View {

    @Id
    private Long id;
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
